lexer grammar Value;
@header {
package ac.jp.u_tokyo.SyncLib.valueParser;
}

NULL : 'null' ;
TRUE : 'true' ;
FALSE : 'false' ;
T15 : ',' ;
T16 : '{' ;
T17 : '=' ;
T18 : '->' ;
T19 : '}' ;

// $ANTLR src "C:\Documents and Settings\t2ladmin\My Documents\Projects\2008\OS3\SyncLib\src\ac\jp\u_tokyo\SyncLib\valueParser\Value.g" 33
fragment DIGIT 
	:	'0'..'9';
	
// $ANTLR src "C:\Documents and Settings\t2ladmin\My Documents\Projects\2008\OS3\SyncLib\src\ac\jp\u_tokyo\SyncLib\valueParser\Value.g" 36
fragment ULETTER
	:	'A'..'Z';
// $ANTLR src "C:\Documents and Settings\t2ladmin\My Documents\Projects\2008\OS3\SyncLib\src\ac\jp\u_tokyo\SyncLib\valueParser\Value.g" 38
fragment LLETTER
	:	'a'..'z'| '*';
// $ANTLR src "C:\Documents and Settings\t2ladmin\My Documents\Projects\2008\OS3\SyncLib\src\ac\jp\u_tokyo\SyncLib\valueParser\Value.g" 40
fragment LETTER
	:	ULETTER | LLETTER | '_';	

// $ANTLR src "C:\Documents and Settings\t2ladmin\My Documents\Projects\2008\OS3\SyncLib\src\ac\jp\u_tokyo\SyncLib\valueParser\Value.g" 43
NUMBER : DIGIT+;
// $ANTLR src "C:\Documents and Settings\t2ladmin\My Documents\Projects\2008\OS3\SyncLib\src\ac\jp\u_tokyo\SyncLib\valueParser\Value.g" 44
NAME 	:	LETTER (DIGIT | LETTER)*;
// $ANTLR src "C:\Documents and Settings\t2ladmin\My Documents\Projects\2008\OS3\SyncLib\src\ac\jp\u_tokyo\SyncLib\valueParser\Value.g" 45
STRING : ('\"' | '\'') (~('\"' | '\''))* ('\"' | '\'');


// $ANTLR src "C:\Documents and Settings\t2ladmin\My Documents\Projects\2008\OS3\SyncLib\src\ac\jp\u_tokyo\SyncLib\valueParser\Value.g" 48
WS
    : (' '|'\t' | '\n')+ {skip();}
    ; 
 
